kill SIGABRT does not generate core file from daemon started from crontab. [closed]
Posted
by
Guma
on Programmers
See other posts from Programmers
or by Guma
Published on 2011-02-22T21:41:38Z
Indexed on
2011/02/22
23:34 UTC
Read the original article
Hit count: 376
I am running CentOS 5.5 and working on server application that sometimes I need to force core dump so I can see what is going on. If I start my server from shell and send kill SIGABRT, core file is created. If I start same program from crontab and than I send same signal to it server is "killed" but not core file is generated. Does any one know why is that and what need to be added to my code or changed in system settings to allow core file generation? Just a side note I have ulimit set to unlimited in /etc/profile I have set kernel.core_uses_pid = 1 kernel.core_pattern=/var/cores/%h-%e-%p.core in /etc/sysctl.conf
Also my server app was added to crontab under same login id as I am running it from shell.
Any help greatly appreciated
© Programmers or respective owner